package com.link.base.base.codereview.service;


import com.link.base.base.codereview.model.DirectoryTree;
import com.link.base.base.codereview.model.SysCodeReview;
import com.link.core.basic.service.BasicService;

import java.util.List;

/**
 * 代码审核管理-专用于代码审核功能
 *
 * @author 谢鑫
 * @date 2019/09/25 09:59
 */
public interface SysCodeReviewService extends BasicService<SysCodeReview> {

    /**
     * 根据项目名得到目录树
     *
     * @author LiYang
     * @date 20191031
     */
    public DirectoryTree getDirectoryTree(SysCodeReview sysCodeReview) throws Exception;

    /**
     * 审核接口
     *
     * @author LiYang
     * @date 20191031
     */
    public SysCodeReview approvalCodeReview(SysCodeReview sysCodeReview) throws Exception;

    /**
     * 通过全表的去重查询查询所有项目
     * @param sysCodeReview
     */
    public List<SysCodeReview> queryProj(SysCodeReview sysCodeReview) throws Exception;
}
